﻿using Abp.Runtime.Validation;
using DHJ.Cost.Dto;

namespace DHJ.Cost.Models.Dto
{
    public class GetLaunchesInput : PagedAndSortedInputDto, IShouldNormalize
    {
        public int? ModelId { get; set; }

        public void Normalize()
        {
            if (string.IsNullOrEmpty(Sorting)) Sorting = "CreationTime DESC";
        }
    }
}